package ch03.demo.factory.impl;

import ch03.demo.dao.NewDao;
import ch03.demo.dao.impl.NewsDaoMySqlImpl;
import ch03.demo.factory.AbstractFactory;

public class MysqlDaoFactory implements AbstractFactory {
    @Override
    public NewDao getInstance() {
        return new NewsDaoMySqlImpl();
    }
}
